<template>
    <div id="login-box">
        <div class="title-box">
            <h1>LOGIN</h1>
        </div>
        <form method="post">
            <div class="input-box">
                <input type="text" placeholder="输入用户名">
                <input v-bind:type="specific_type" placeholder="输入密码">
            </div>
            <span class="skip-text" v-on:click="left_move">注册</span>
            <div class="input-button">
                <input type="button" value="登录" >
            </div>
        </form>
    </div>
</template>

<script>
export default {
    name: 'LoginBox',
    props: {
        specific_type: String,
    },

    data() {
        return {
            left_image: require('../assets/images/left.png'),
            left_animation: "left_animation",
            left_style: "cover-box-left"
        };
    },

    mounted() {
        
    },

    methods: {
        left_move: function() {
            this.$emit('left_move_change', this.left_image, this.left_animation, this.left_style)
        }
    },
};
</script>

<style scoped>


</style>